package cn.edu.zafu.bigdata.LiJuan;

public class TestReload {
    public static void main(String[] args) {
        MathOperations math = new MathOperations();

        // 调用 add 方法，传入两个整数
        int sumInt = math.add(5, 4);
        System.out.println("Sum of two integers: " + sumInt);

        // 调用 add 方法，传入两个浮点数
        double sumDouble = math.add(7.5, 3.7);
        System.out.println("Sum of two doubles: " + sumDouble);

        // 调用 add 方法，传入三个整数
        int sumThreeInts = math.add(1, 3, 2);
        System.out.println("Sum of three integers: " + sumThreeInts);
    }
}
